@charset "utf-8";
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
$base-color: #333;
$ph_color: #999;
$base-size: '20px';

@font-face {
    font-family: 'pingFangSC-Light';
    src: url('font/PingFang Light.ttf');
    font-weight: normal;
    font-style: normal;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html, body {
    line-height: 1;
    height: 100%;
    width: 100%;
    font-size: $base-size;
    font-family: pingFangSC-Light, sans-serif;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: $base-color;
    &:hover, &:focus {
        text-decoration: none;
    }
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.tl {
    text-align: left;
}

.tr {
    text-align: right;
}

.tc {
    text-align: center;
}

.cf:before, .cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    zoom: 1;
}

.block {
    display: block;
}

.none {
    display: none
}

::-webkit-input-placeholder {
    color: $ph_color;
    font-weight: normal;
}

::-moz-placeholder {
    color: $ph_color;
    font-weight: normal;
}

:-ms-input-placeholder {
    color: $ph_color;
    font-weight: normal;
}

.clear {
    clear: both;
}

// 页脚
#footer {
    background: #1e1b23;
    padding: 40px 0;
    li {
        color: #fff;
        font-size: 16px;
        height: 30px;
        line-height: 30px;
        a {
            color: #fff;
            font-size: 20px;
        }
    }
    .share {
        overflow: hidden;
        white-space: nowrap;
        .share-icon {
            float: left;
            width: 30px;
            height: 30px;
            margin-right: 10px;
            img {
                width: 100%;
                height: 100%;
            }
        }
    }
}

// 产品头部
#p-head {
    position: relative;
    .navbar {
        width: 100%;
        position: absolute;
        z-index: 100;
        background: transparent;
        border: none;
        margin-top: 70px;
        a {
            color: white;
            font-size: 24px;
            font-weight: bold;
            &:hover {
                color: #f00;
            }
        }
        @media screen and (max-width: 768px) {
            margin-top: 0;
            background: #E7E7E7;
            .search {
                display: none;
            }
        }
        .navbar-brand {
            display: none;
            @media screen and (max-width: 768px) {
                display: inline-block;
            }
        }
        .navbar-collapse {
            white-space: nowrap;
            padding: 0 10%;
            @media screen and (min-width: 1600px) {
                padding: 0 13%;
            }
            .navbar-nav {
                > li {
                    margin-right: 10px;
                    position: relative;
                    @media screen and (min-width: 1600px) {
                        margin-right: 30px;
                    }
                    .child-menu {
                        position: absolute;
                        left: 15px;
                        padding: 0 10px;
                        background: #333;
                        opacity: 0.6;
                        height: 0;
                        transition: height .8s;
                        overflow: hidden;
                        border: 0;
                        li {
                            padding: 20px 0;
                            a {
                                color: #fff;
                            }
                        }
                    }
                    &:hover {
                        .child-menu {
                            border-top: 5px solid #f00;
                            display: block;
                            height: 128px;
                            a:hover {
                                color: #f00;
                            }
                        }
                    }
                }
            }
            .title {
                position: absolute;
                left: 50%;
                margin-left: -90px;
                width: 180px;
                li {
                    float: none;
                    text-align: center;
                    margin: 0 auto;
                    a {
                        font-size: 30px;
                        &:hover {
                            color: #fff;
                        }
                    }
                }
                @media screen and (max-width: 768px) {
                    display: none;
                }
            }
        }
        .search {
            padding: 0 13%;
            .input-box {
                height: 80px;
                margin: 7% auto;
                width: 96%;
                padding-left: 68px;
                background: #fff url("../images/search.png") no-repeat 20px 25px;
                .input {
                    height: 100%;
                    border: 0;
                    outline: none;
                    width: 70%;
                    font-size: 20px;
                    @media screen and (max-width: 1800px) {
                        width: 60%;
                    }
                    @media screen and (max-width: 1366px) {
                        width: 55%;
                    }
                }
                .right-group {
                    height: 100%;
                    position: relative;
                    .dropdown {
                        position: absolute;
                        top: 50%;
                        right: 180px;
                        transform: translateY(-50%);
                        .btn {
                            border: 0;
                            border-left: 2px solid #DFDFDF;
                            color: #999;
                            font-size: 24px;
                            margin-right: 20px;
                            &:hover, &:active, &:focus {
                                background: none;
                            }
                            .caret {
                                color: #000;
                                margin-left: 10px;
                            }
                        }
                        .dropdown-menu {
                            a {
                                color: #000;
                            }
                        }
                    }
                    .button {
                        position: absolute;
                        top: 50%;
                        right: 6px;
                        transform: translateY(-50%);
                        color: #f3f3f3;
                        z-index: 0;
                        border: 0;
                        background: #333;
                        font-size: 24px;
                        height: 90%;
                        width: 150px;
                    }
                }
            }
        }
    }
    .banner {
        img {
            width: 100%;
        }
    }
}

// 新闻头部
#n-head {
    .navbar-default {
        background: #fff;
        box-shadow: 0 12px 12px rgba(226, 226, 224, 0.9);
        .navbar-header {
            .navbar-brand {
                display: none;
                @media screen and (max-width: 768px) {
                    display: inline-block;
                }
            }
        }
        .navbar-collapse {
            .navbar-nav {
                width: 80%;
                margin: 0 auto;
                float: none;
                margin-top: 120px;
                @media screen and (max-width: 768px) {
                    margin: 0;
                }
                > li {
                    width: 16%;
                    vertical-align: bottom;
                    position: relative;
                    &.company-logo {
                        margin-top: -120px;
                        @media screen and (max-width: 768px) {
                            display: none;
                        }
                    }
                    a {
                        color: #000;
                        font-size: 24px;
                        font-weight: bold;
                    }
                    .child-menu {
                        position: absolute;
                        left: 0;
                        height: 0;
                        overflow: hidden;
                        background: #fafafa;
                        transition: height .5s;
                        li {
                            padding: 0 15px;
                            height: 45px;
                            line-height: 45px;
                            &:hover {
                                background: #E5E5E3;
                            }
                        }
                    }
                    &:hover {
                        .child-menu {
                            height: 90px;
                        }
                    }
                }
            }
        }
    }
}

// 新闻主体
#n-section {
    margin-top: 80px;
    .container {
        .title {
            font-size: 30px;
            margin: 20px 0;
            font-weight: bold;
        }
        .content {
            font-size: 22px;
            color: #666;
            padding: 20px 0;
            line-height: 30px;
        }
        .classify {
            .c-level-1 {
                li {
                    float: left;
                    text-align: center;
                    padding: 0 50px;
                    border-right: 1px solid #ccc;
                    &:last-child {
                        border: 0;
                    }
                    a {
                        font-weight: bold;
                        font-size: 30px;
                        span {
                            font-size: 35px;
                        }
                        &:hover {
                            color: #c52b21;
                        }
                        &.active {
                            color: #c52b21;
                        }
                        &:focus {
                            text-decoration: none;
                        }
                    }
                    @media screen and (max-width: 768px) {
                        padding: 0 20px;
                        a {
                            font-size: 20px;
                            span {
                                font-size: 25px;
                            }
                        }
                    }
                }
            }
        }
        .news-items {
            > li {
                margin: 40px 0;
                div {
                    padding: 0;
                    &.news-img {
                        img {
                            width: 100%;
                            border-radius: 20px 0 0 20px;
                        }
                    }
                    &.news-article {
                        background: #fafafa;
                        border-radius: 0 20px 20px 0;
                        padding: 40px;
                        font-size: 22px;
                        color: #666;
                        line-height: 30px;
                        overflow: hidden;
                        box-sizing: border-box;
                        .title {
                            height: 20%;
                            margin: 0;
                            padding-top: 3%;
                        }
                        .text {
                            height: 80%;
                            overflow: hidden;
                            .icon {
                                padding-left: 30px;
                                background: url("../images/points.gif") no-repeat 7px 7px;
                            }
                        }
                    }
                }
            }
        }
        .share {
            overflow: hidden;
            .share-icon {
                float: left;
                width: 50px;
                height: 50px;
                margin-right: 20px;
                background: url("../images/sprite.png") no-repeat;
                &.facebook {
                    background-position: -726px -26px;
                }
                &.twitter {
                    background-position: -826px -26px;
                }
                &.google {
                    background-position: -926px -26px;
                }
                &.ins {
                    background-position: -326px -265px;
                }
                &.alibaba {
                    background-position: -24px -140px;
                }
            }
        }
        .n-btns {
            margin: 20px 0;
            button {
                background: #FAFAFA;
                height: 60px;
                width: 240px;
                font-size: 22px;
                outline: none;
                margin: 0 100px 20px 0;
                border: 0;
                &:hover {
                    box-shadow: 0 2px 20px #EAD7C6;
                    color: #c52b21;
                }
            }
        }
        .us-content {
            padding: 20px;
            margin: 50px 0;
            box-shadow: 0 2px 20px #EAD7C6;
            .items {
                li {
                    background: #fafafa;
                    margin: 20px 0;
                    padding: 10px;
                    &:first-child {
                        margin-top: 0;
                    }
                    &:last-child {
                        margin-bottom: 0;
                    }
                    label {
                        display: inline-block;
                        width: 100px;
                        font-size: 18px;
                    }
                    input {
                        width: 80%;
                        border-color: transparent;
                        outline: none;
                        background: #fafafa;
                        color: #666;
                    }
                    .remark {
                        width: 100%;
                        height: 160px;
                        resize: none;
                        border: 0;
                        margin-top: 10px;
                        padding: 10px 5px;
                        outline: none;
                        background: #fafafa;
                        color: #666;
                    }
                    .required-sign {
                        color: #f00;
                        float: right;
                        font-size: 30px;
                    }
                }
            }
            .code {
                margin: 20px 0;
                padding: 10px;
                background: #fafafa;
                width: 50%;
                label {
                    display: inline-block;
                    width: 100px;
                    font-size: 18px;
                }
                input {
                    width: 40%;
                    border-color: transparent;
                    outline: none;
                    color: #666;
                    background: #fafafa;
                }
            }
            .submit-btn {
                button {
                    width: 300px;
                    background: #C52B21;
                    border-radius: 4px;
                    height: 80px;
                    font-size: 30px;
                    color: #fff;
                    border: 0;
                }
            }
            &.callback-form {
                display: none;
            }
        }
    }
}

// 产品列表
#p-list {
    width: 90%;
    margin: 50px auto;
    .n-btns {
        margin: 20px 0;
        height: 100px;
        button {
            background: #fff;
            height: 60px;
            width: 240px;
            font-size: 22px;
            outline: none;
            margin: 0 100px 0 0;
            vertical-align: middle;
            border: 0;
            &:hover {
                box-shadow: 0 2px 20px #EAD7C6;
                color: #f00;
                font-size: 28px;
            }
        }
    }
    .classify {
        .c-level-1 {
            li {
                float: left;
                text-align: center;
                padding: 0 50px;
                border-right: 1px solid #ccc;
                &:last-child {
                    border: 0;
                }
                a {
                    font-weight: bold;
                    font-size: 30px;
                    span {
                        font-size: 35px;
                    }
                    &:hover {
                        color: #c52b21;
                    }
                    &.active {
                        color: #c52b21;
                    }
                    &:focus {
                        text-decoration: none;
                    }
                }
                @media screen and (max-width: 768px) {
                    padding-right: 20px;
                    a {
                        font-size: 20px;
                        span {
                            font-size: 25px;
                        }
                    }
                }
            }
        }
        .c-level-2 {
            padding-left: 20px;
            margin: 50px 0;
            .tabpanal {
                display: none;
                &.chosen {
                    display: block;
                }
                li {
                    float: left;
                    &::after {
                        content: "·";
                        font-weight: bold;
                    }
                    &:last-child::after {
                        content: "";
                    }
                    a {
                        font-size: 22px;
                        padding: 10px 30px;
                        &:hover {
                            color: #c52b21;
                        }
                        &:focus {
                            text-decoration: none;
                        }
                    }
                    &.active {
                        a {
                            color: #c52b21;
                        }
                    }
                }

            }
            @media screen and (max-width: 768px) {
                margin: 20px 0;
                .tabpanal {
                    li {
                        margin: 10px 0;
                        a {
                            font-size: 18px;
                        }
                    }
                }
            }
        }
    }
    .product-list {
        .item {
            height: 500px;
            padding: 0 50px;
            margin-bottom: 50px;
            @media screen and (max-width: 1800px) {
                width: 33.33333%;
            }
            @media screen and (max-width: 1300px) {
                width: 50%;
            }
            @media screen and (max-width: 768px) {
                width: 100%;
                padding: 0;
            }
            > div {
                background: #fff;
                height: 100%;
                padding: 20px;
                .img {
                    background: #FAFAFA;
                    height: 300px;
                    overflow: hidden;
                    img {
                        width: 100%;
                        height: 100%;
                        transition: all .5s;
                    }
                    &:hover {
                        img {
                            width: 110%;
                            height: 110%;
                            transform: translate(-5%, 0);
                        }
                    }
                }
                p {
                    height: 40px;
                    line-height: 40px;
                    margin: 10px 0;
                    &.spec {
                        font-size: 30px;
                        &.name {
                            margin-top: 30px;
                        }
                    }
                    &.function {
                        font-size: 18px;
                    }
                }

            }
        }
    }
}

// 产品详情
#pro-detail {
    width: 100%;
    height: 100%;
    div {
        padding: 0;
    }
    .introduce {
        height: 100%;
        width: 50%;
        padding: 50px 100px;
        @media screen and (max-width: 768px) {
            width: 100%;
            height: auto;
            padding: 50px 50px;
            .search-box {
                display: none;
            }
        }
        .return-btn {
            display: inline-block;
            margin: 10px 0;
            width: 105px;
            height: 25px;
            background: url("../images/sprite.png") no-repeat -614px -278px;
            &:active, &:hover {
                background-position: -431px -280px;;
            }
        }
        .collapse-group {
            margin: 40px 0;
            .collapse-toggle {
                cursor: pointer;
                font-size: 24px;
                font-weight: 600;
                color: #D0544C;
                i {
                    padding-left: 25px;
                    margin-left: 25px;
                    background: url("../images/sprite.png") no-repeat -238px -36px;
                }
                &.collapsed {
                    color: #000;
                    i {
                        background-position: -338px -36px;
                    }
                }
            }
            .feature-item {
                li {
                    line-height: 30px;
                    font-size: 20px;
                    color: #4c4c4c;
                    &:first-child {
                        margin-top: 30px;
                    }
                }
            }
        }
        .search-box {
            background: #fff;
            height: 60px;
            width: 500px;
            margin: 50px 0;
            #search-content {
                height: 100%;
                border: 0;
                padding-left: 50px;
                background: url("../images/search.png") no-repeat 10px 14px;
                outline: none;
                width: 386px;
                font-size: 20px;
            }
            .search-btn {
                background: #333;
                border: 0;
                padding: 14px 32px;
                vertical-align: middle;
                color: #fff;
                font-size: 20px;
                &:active {
                    background: #666;
                }
            }
        }
    }
    .image {
        background: #fff;
        position: fixed;
        right: 0;
        height: 100%;
        width: 50%;
        @media screen and (max-width: 768px) {
            width: 100%;
            position: relative;
        }
        img {
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            width: 60%;
        }
    }
}

// 解决方案
#solution {
    width: 80%;
    margin: 100px auto;
    min-height: 500px;
    .methods-item {
        height: 60px;
        line-height: 60px;
        font-size: 24px;
        border-bottom: 1px solid #ccc;
        margin-bottom: 20px;
        white-space: nowrap;
        span {
            display: inline-block;
            max-width: 80%;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .icon {
            width: 40px;
            height: 40px;
            background: url("../images/sprite.png") no-repeat -630px -143px;
            margin-top: 10px;
        }
    }
}

// 分页
#pagination {
    margin: 50px 0;
    ul {
        display: inline-block;
        li {
            display: inline-block;
            width: 50px;
            height: 50px;
            vertical-align: bottom;
            line-height: 50px;
            text-align: center;
            cursor: pointer;
            font-weight: bold;
            background: url("../images/sprite.png") no-repeat 100000px 100000px;
            &.active {
                background-position: -223px -139px;
            }
            &.prev {
                background-position: -526px -139px;
                transform: rotate(180deg);
                margin-right: 20px;
                &.disabled {
                    background-position: -426px -139px;
                    transform: none;
                    cursor: not-allowed;
                    &:active {
                        background-position: -426px -139px;
                    }
                }
                &:active {
                    background-position: -326px -139px;
                }
            }
            &.next {
                background-position: -526px -139px;
                margin-left: 20px;
                &.disabled {
                    background-position: -426px -139px;
                    transform: rotate(180deg);
                    cursor: not-allowed;
                    &:active {
                        background-position: -426px -139px;
                        transform: rotate(180deg);
                    }
                }
                &:active {
                    background-position: -326px -139px;
                }
            }
        }
    }
}

#to-top, #contact-online {
    position: fixed;
    bottom: 400px;
    right: 80px;
    width: 62px;
    height: 55px;
    cursor: pointer;
    background: url("../images/sprite.png") no-repeat -819px -137px;
    &:hover {
        background: url("../images/top.gif") no-repeat 1px 1px;
    }
    @media screen and (max-width: 768px) {
        display: none;
    }
}

#contact-online {
    bottom: 300px;
    right: 80px;
    background: url("../images/sprite.png") no-repeat -919px -137px;
    &:hover {
        background: url("../images/online.gif") no-repeat 1px 1px;
        .contact-methods {
            display: block;
        }
    }
    .contact-methods {
        position: absolute;
        top: 55px;
        width: 100%;
        display: none;
        li {
            height: 52px;
            margin: 20px 0;
            background: url("../images/QQ.png") no-repeat 10px -3px;
            &:hover {
                background: url("../images/QQ.gif") no-repeat 10px -3px;
            }
            &:last-child {
                background: url("../images/skype.png") no-repeat 11px 1px;
                &:hover {
                    background: url("../images/skype.gif") no-repeat 11px 1px;
                }
            }
        }
    }
}